<?php
class Common_Model extends CI_Model
{
	public function insert_data($table, $data)
	{
		if(isset($table) && isset($data) && count($data))
		{
			$this->db->insert($table, $data);
		}
	}
}